ENT.Type = "anim";
ENT.Base = "c_base_generator";

ENT.PrintName = "Hydroelectric Generator";
ENT.Information = "Condition: Submerged in water.";

ENT.Model = "models/props_wasteland/laundry_washer003.mdl";

ENT.Resource = RES_ENERGY;
ENT.Amount = 10;
ENT.Delay = 0.1;

ENT.AlwaysOn = true;

ENT.CosmicPrice = 8;

function ENT:CanGenerate()
	
	return ( self:WaterLevel() > 0 );
	
end